

<?php
header('Content-Type: application/json; charset=utf-8');

mysql_connect("localhost","root","root") or die ("Error al conectar!");
mysql_select_db("leisuretime2") or die ("Verifique la base de datos");

mysql_query("SET NAMES 'utf8'");
?>